package com.deyuanyun.pic.pipe.mapper.dao;

import com.deyuanyun.pic.settings.controller.dto.PipeValveRoomInfraVO;
import com.deyuanyun.pic.settings.domain.pipe.ValveRoom;
import com.github.pagehelper.Page;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;

public interface PipeValveRoomDao {

	Page<HashMap<String, Object>> findPage(HashMap param);

	void insertValveRoom(PipeValveRoomInfraVO pipeValveRoomInfraVO);

	Page<HashMap<String, Object>> findByCondition(
			PipeValveRoomInfraVO pipeValveRoomInfraVO);

	int dUpdateByIds(PipeValveRoomInfraVO pipeValveRoomInfraVO);

	int deleteByIds(PipeValveRoomInfraVO pipeValveRoomInfraVO);

	int updateStatus(PipeValveRoomInfraVO pipeValveRoomInfraVO);

	int updateVRS(PipeValveRoomInfraVO pipeValveRoomInfraVO);

	void updateVR(PipeValveRoomInfraVO pipeValveRoomInfraVO);

	List validatRepByVR(PipeValveRoomInfraVO pipeValveRoomInfraVO);

	List validatRepByVRU(PipeValveRoomInfraVO pipeValveRoomInfraVO);

	Page<LinkedHashMap<String,Object>> findPageExport(HashMap map);
}